Remove incorrect __init prefixes
authorKeir Fraser <keir@xensource.com>
Wed, 27 Jun 2007 18:59:21 +0000 (19:59 +0100)
committerKeir Fraser <keir@xensource.com>
Wed, 27 Jun 2007 18:59:21 +0000 (19:59 +0100)
Following functions can be __init in Linux, however shouldn't
in Xen. __print_IO_APIC is called by keyhandler, while
setup_ioapic_dest is invoked in one platform hypercall.

Signed-off-by Kevin Tian <kevin.tian@intel.com>

xen/arch/x86/io_apic.c

index 5aff60f52bcf7cf00106baeb6aded91622e116bf..5f4665238ba55d6b9d8707d98274276b2d54bf42 100644 (file)
@@ -371,7 +371,7 @@ static int pin_2_irq(int idx, int apic, int pin);
  * so mask in all cases should simply be TARGET_CPUS
  */
 #ifdef CONFIG_SMP
-void __init setup_ioapic_dest(void)
+void /*__init*/ setup_ioapic_dest(void)
 {
     int pin, ioapic, irq, irq_entry;
 
@@ -849,7 +849,7 @@ static inline void UNEXPECTED_IO_APIC(void)
 {
 }
 
-void __init __print_IO_APIC(void)
+void /*__init*/ __print_IO_APIC(void)
 {
     int apic, i;
     union IO_APIC_reg_00 reg_00;